#{extends 'main.html' /}

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Manage Identities</title>
</head>
<body>
<h2>You have ${num} identities available!</h2>
<br>
<br>
#{if num>0}
#{list items:0..identityListSize, as:'i'}
<li>
Identity : ${i+1} 
<br>
Identity Name : ${identityList[i].name}
<br>
Number of connected social profiles : ${identityList[i].profileList.size()}
<br>
<a href="@{AbstractProfiles.manageIdentity(identityList[i].name)}">Manage this identity here!</a>
<br>
<br>
<br>
</li>
#{/list}
#{/if}
<br>
<a href="@{AbstractProfiles.createIdentity}">Create a new identity!</a>
<br>
<a href="@{Application.homePage}">Back to Home Page</a>
<br>
<a href="http://localhost:9000/logout">Log out!</a>

</body>
</html>